package com.xhd.base.scheduler;

import com.xhd.base.util.xBaseObj;
import com.xhd.exception.XException;

public abstract interface SchedulerTask extends xBaseObj
{
  public abstract boolean startProcess();

  public abstract void setProcessResult(Throwable paramThrowable);

  public abstract xBaseObj getBizObj();

  public abstract int getSchTaskId();

  public abstract int getPriority();

  public abstract void setPriority(int paramInt);

  public abstract void stopOldTasks();

  public abstract void onPushQueue(xBaseObj paramxBaseObj)
    throws XException;
}